package com.xyht.sca_s.student_manage_system.modules.carUseManage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.carUseManage.entity.SmsCarWarehousing;
import com.xyht.sca_s.student_manage_system.modules.carUseManage.entity.req.SmsCarWarehousingReq;

import java.util.Map;
import java.util.concurrent.Future;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-07-31
 */
public interface SmsCarWarehousingService extends IService<SmsCarWarehousing> {

    ResponseResult carAdd(SmsCarWarehousingReq warehousingReq, String userId);

    ResponseResult carDelete(SmsCarWarehousingReq warehousingReq);

    ResponseResult carUpdate(SmsCarWarehousingReq warehousingReq);

    ResponseResult carSelect(String column_name, String search_str, Integer pageSize, Integer pageNum, String bg_date, String end_date);

    ResponseResult selectById(String id);

    Future<ResponseResult> batchAddCar(Map<String, Object> map, String userId);

    ResponseResult carSelectInHouse(Integer pageSize, Integer pageNum);
}
